package com.example.bookstore.entity;

import java.math.BigDecimal;

public class Product {

    private Integer productId;

    private String productName;

    private BigDecimal productPrice;

    //图书类别
    private String productClass;

    //库存
    private Integer productPnum;

    private String imgUrl;

    private String description;

    public Integer getproductId() {
        return productId;
    }

    public void setproductId(Integer productId) {
        this.productId = productId;
    }

    public String getproductName() {
        return productName;
    }

    public void setproductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public BigDecimal getproductPrice() {
        return productPrice;
    }

    public void setproductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    public String getproductClass() {
        return productClass;
    }

    public void setproductClass(String productClass) {
        this.productClass = productClass == null ? null : productClass.trim();
    }

    public Integer getproductPnum() {
        return productPnum;
    }

    public void setproductPnum(Integer productPnum) {
        this.productPnum = productPnum;
    }

    public String getimgUrl() {
        return imgUrl;
    }

    public void setimgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }
}